# @Version        : 1.0
# @Update Time    : 2024/9/15 22:39
# @File           : config_model.py
# @IDE            : PyCharm
# @Desc           : 配置模型
from advanced_alchemy.base import BigIntAuditBase
from sqlalchemy import String
from sqlalchemy.orm import mapped_column, Mapped


# class SysConfig(BigIntAuditBase):
#     """
#     参数配置表
#     """
# 
#     __tablename__ = "sys_config"
#     __table_args__ = {"comment": "参数配置表"}
#
#     config_name = mapped_column(
#         String(100), nullable=True, default="", comment="参数名称"
#     )
#     config_key = mapped_column(
#         String(100), nullable=True, default="", comment="参数键名"
#     )
#     config_value = mapped_column(
#         String(500), nullable=True, default="", comment="参数键值"
#     )
#     config_type = mapped_column(
#         String(1), nullable=True, default="N", comment="系统内置（Y是 N否）"
#     )
#     remark: Mapped[str | None] = mapped_column(String(500), nullable=True, default="", comment="备注")
